package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Grade;
import cn.wolfcode.crm.query.QueryForObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IGradeService {
    void deleteByPrimaryKey(Long id);

    void insert(Grade record);

    Grade selectByPrimaryKey(Long id);

    List<Grade> selectAll();

    void updateByPrimaryKey(Grade record);
    PageResult query(QueryForObject qo);

    void changeState(Long id);

}
